<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script src="./test.js"></script>
    <script>
        var num = 2;
        // 不要在这里设置断点
        if (num == 1) {
            document.write("壹");
        }
        if (num == 2) {
            document.write("贰");
        }
        if (num == 3) {
            document.write("叁");
        }
        if (num == 4) {
            document.write("肆");
        }

        if(num < 0){
            document.write("没有小于0的大写汉字")
        }
    </script>
</body>

</html>